package com.example.administrator.wallet.model.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/8/24 0024.
 */

public class CoinMarketBean {

    /**
     * code : 200
     * data : [{"main":"USDT","list":[{"name":"BTCUSDT","stock":"BTC","money":"USDT","min_amount":"0.001"},{"name":"ETHUSDT","stock":"ETH","money":"USDT","min_amount":"0.001"}]},{"main":"BTC","list":[{"name":"ETHBTC","stock":"ETH","money":"BTC","min_amount":"0.001"}]},{"main":"ETH","list":[]}]
     * message : 提交成功
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * main : USDT
         * list : [{"name":"BTCUSDT","stock":"BTC","money":"USDT","min_amount":"0.001"},{"name":"ETHUSDT","stock":"ETH","money":"USDT","min_amount":"0.001"}]
         */

        private String main;
        private List<ListBean> list;

        public String getMain() {
            return main;
        }

        public void setMain(String main) {
            this.main = main;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean implements Serializable{
            /**
             * name : BTCUSDT
             * stock : BTC
             * money : USDT
             * min_amount : 0.001
             */

            private String name;
            private String stock;
            private String money;
            private String min_amount;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getStock() {
                return stock;
            }

            public void setStock(String stock) {
                this.stock = stock;
            }

            public String getMoney() {
                return money;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public String getMin_amount() {
                return min_amount;
            }

            public void setMin_amount(String min_amount) {
                this.min_amount = min_amount;
            }
        }
    }
}
